package com.dyc.caradvertisting.ui.aty.splash;

import android.os.Handler;

import com.dyc.caradvertisting.R;
import com.dyc.caradvertisting.ui.aty.main.MainAty;
import com.njh.tools.base.BaseActivity;
import com.njh.tools.common.phone.ToActivityUtil;
import com.njh.tools.config.tconstant.Constants;

/**
 * 启动activity
 */
public class SplashAty extends BaseActivity {



    @Override
    public int getLayoutId() {
        return R.layout.activity_splash_aty;
    }

    @Override
    public void initView() {
      new Handler().postDelayed(new Runnable() {
          @Override
          public void run() {
              ToActivityUtil.getInstance().toNext(SplashAty.this,MainAty.class);
              ToActivityUtil.getInstance().finish(SplashAty.this);
          }
      },3000);
    }

    @Override
    public void initPresenter() {

    }
}
